package vip.mtdp.asset.core;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Description
 * @Author Evans.wang
 * @since 2023/10/29 20:39
 **/
@Slf4j
@MapperScan(basePackages = {"vip.mtdp.asset.core.dal.*"})
@ComponentScan(basePackages = {"vip.mtdp.asset.core.*", "vip.mtdp.orm.*", "vip.mtdp.boot.*", "vip.mtdp.cloud.*"})
@EnableScheduling
@SpringBootApplication
public class AssetCoreApplication {

    public static void main(String[] args) {
        SpringApplication.run(AssetCoreApplication.class, args);
        log.info("===> asset core started.");
    }

}
